package cn.laixueit.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName tb_book_chapter
 */
@TableName(value ="tb_book_chapter")
@Data
public class BookChapter implements Serializable {
    /**
     * 主键
     */
    @TableId
    private String id;

    /**
     * 名称
     */
    private String name;

    /**
     * 主编码
     */
    private String code;

    /**
     * 是否收费
     */
    private Boolean isPay;

    /**
     * 排序
     */
    private Integer sort;


    @TableField(exist = false)
    private BookChapterContent bookChapterContent;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}